package com.wisezone.workflow.bean.po;

import java.util.ArrayList;
import java.util.List;

/**
 * 流程模板对象 2010-05-17
 * @author shan
 *
 */
public class ProcessModule {

	/**
	 * id
	 */
	private String id;
	
	/**
	 * 名称
	 */
    private String name;
   
    /**
     * 标识符
     */
    private String key; 
    
    /**
     * 版本
     */
    private String version;
    
    /**
     * 描述
     */
    private String description;
    
	/**
	 * 变量集合
	 */
	private List<VariableModule> variableModules = new ArrayList<VariableModule>();
	
    /**
     * 节点结合
     */
	private List<NodeModule> nodeModules = new ArrayList<NodeModule>();

	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String processName) {
		this.name = processName;
	}

    
	public List<NodeModule> getNodeModules() {
		return nodeModules;
	}

	public void setNodeModules(List<NodeModule> nodeModules) {
		this.nodeModules = nodeModules;
	}
	
	public void addNodeModule(NodeModule nodeModule) {
		this.nodeModules.add(nodeModule);
	}

	public List<VariableModule> getVariableModules() {
		return variableModules;
	}

	public void setVariableModules(List<VariableModule> variableModules) {
		this.variableModules = variableModules;
	}
	public void addVariableModule(VariableModule variableModule) {
		this.variableModules.add(variableModule);
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	
	
	
	
}
